package tec.stan.ling.core.top.model;

import tec.stan.ling.core.notifier.Notifier;

/**
 * NE(Net Element) is interface for all TOPO object.
 * 
 * 
 * @author Stan 张新潮
 * @since 2010-01-08
 */
public interface NE extends Notifier {
	/**
	 * Identify of Net Element
	 * 
	 * @return
	 */
	int getId();

	/**
	 * Name of Net Element, show on UI
	 * 
	 * @return
	 */
	String getName();

	void setName(String value);

	static final String NE_NAME = "NE:name";
	
	/**
	 * Type of Net Element: Subnet, Link, Device or others.
	 * 
	 * @return
	 */
	NEType getType();
}
